package com.gitee.hermer.engine.jars.dependent.dozer.annotate;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.AliasFor;

import com.gitee.hermer.engine.jars.core.domain.EngineConstant;
import com.gitee.hermer.engine.jars.dependent.dozer.configuration.DozerAutoConfiguration;


@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import({DozerAutoConfiguration.class})
public @interface EnableDozer {
	
	@AliasFor(EngineConstant.ANNOTATE_FIELD_NAME_LOCATION_PATTERN)
	String value() default "";
	
	@AliasFor(EngineConstant.ANNOTATE_FIELD_NAME_VALUE)
	String locationPattern() default "";

}
